package com.zzb.projectfactory.framework.role.dao.jpa;

import com.zzb.projectfactory.framework.role.entity.SysRole;
import com.zzb.projectfactory.framework.common.BaseRepository;

/**
* 角色表 JPA接口
*/
public interface SysRoleRepository extends BaseRepository<SysRole> {
    /**通过角色码查询角色*/
    SysRole findTopByRoleCodeOrderByCreateTimeDesc(String roleCode);
}
